<div class="<%= i % 5 === 0 ? 'card first' : 'card' %>">
    <a href="/detail/<%= item.id %>" target="_blank">
        <div class="card-img">
            <img src="<%= JSON.parse(item.pics)[0][0][0] %>" alt="<%= item.phone_name %>" />
        </div>
        <h3 class="title"><%= item.phone_name %></h3>
        <p class="slogan"><%= item.slogan.substring(0, 10) %></p>
        <p class="price"><%= item.default_price %>元起</p>
    </a>
</div>